package usecases

import "gitverse.ru/EYMikhievich/api-gigachat/internal/modules/clientGigaChat/domain"

type ChatUseCase struct {
	Client domain.ChatClient
}

func NewChatUseCase(client domain.ChatClient) *ChatUseCase {
	return &ChatUseCase{Client: client}
}

func (uc *ChatUseCase) SendChatRequest(request domain.ChatRequest, stream chan string) error {
	return uc.Client.ChatRequest(request, stream)
}
